package com.easychat.service;

import com.easychat.common.Result;
import com.easychat.dto.TokenUserInfoDto;
import com.easychat.vo.LoginResultVO;

/**
 * @author 10 2024/10/4
 */
public interface AccountService {
    /**
     * 注册
     * @param email
     * @param password
     * @param nickName
     */
    public void register(String email,String password,String nickName);

    /**
     * 登录
     * @param email
     * @param password
     */
    TokenUserInfoDto login(String email, String password);
}
